{template Public:Admin:header}

<form action="/admin/{echo CONTROLLER_NAME}/{echo ACTION_NAME}/id/{echo $id}" method="post">
     <table class="table table-hover">
          <thead>
               <tr>
                    <th width="20%"> <i class="fa fa-circle-o"></i> 项目名称 </th>
                    <th>
                         <div class="col-lg-8"><i class="fa fa-code"></i> 项目值</div>
                    </th>
               </tr>
          </thead>
          <tbody>
				
                <tr>
                    <td> 用户UID </td>
                    <td>
                        <div class="col-lg-8">{echo $manage['uid']}</div>
                    </td>
               </tr>
               
               <tr>
                    <td> 用户名 </td>
                    <td>
                        <div class="col-lg-8">{echo $manage['username']}</div>
                    </td>
               </tr>
               
                <tr>
                    <td> 当前头像 </td><td>
                         <div class="col-lg-8">
                              {echo GetAvatarSimple($manage['uid'],200)}
                         </div>
                    </td>
               </tr>
               
               
                <tr>
                    <td> 新密码设置(不修改密码留空)</td><td>
                         <div class="col-lg-8">
                              <input type="password" name="password" value="" class="form-control">
                         </div>
                    </td>
               </tr>
               
                <tr>
                    <td> 帐号类型 </td>
                    <td>
                         <div class="col-lg-8">
                             <select name="usertype">
                                  <option value="1" {if !empty($manage['usertype'])}{if $manage['usertype']==1} selected="selected"{/if}{/if}>个人</option>
                                  <option value="2" {if !empty($manage['usertype'])}{if $manage['usertype']==2} selected="selected"{/if}{/if}>企业</option>
                            </select>
                         </div>
                    </td>
               </tr>
               
                <tr>
                    <td> 用户组 </td>
                    <td>
                         <div class="col-lg-8">
                             <select name="usergroup">
                                {foreach $usergrouparr $group}
                                      <option value="{echo $group['id']}" {if !empty($manage['usergroup'])}{if $manage['usergroup']==$group['id']} selected="selected"{/if}{/if}>{echo $group['title']}</option>
                                {/foreach}
                            </select>
                         </div>
                    </td>
               </tr>
               
                <tr>
                    <td> 邮箱 </td>
                    <td>
                         <div class="col-lg-8">
                              <input type="text" name="email" value="{if !empty($manage['email'])}{echo $manage['email']}{/if}" class="form-control">
                         </div>
                    </td>
               </tr>
               
              <tr>
                    <td> 推广员UID </td>
                    <td>
                         <div class="col-lg-8">
                              <input type="text" name="unionid" value="{if !empty($manage['unionid'])}{echo $manage['unionid']}{/if}" class="form-control">
                         </div>
                    </td>
               </tr>
               
                <tr>
                    <td> 推广员用户名 </td>
                    <td>
                         <div class="col-lg-8">
                              <input type="text" name="unionname" value="{if !empty($manage['unionname'])}{echo $manage['unionname']}{/if}" class="form-control">
                         </div>
                    </td>
               </tr>
               
               <tr>
                    <td> 提现支付宝 </td>
                    <td>
                         <div class="col-lg-8">
                              <input type="text" name="bankcard" value="{if !empty($manage['bankcard'])}{echo $manage['bankcard']}{/if}" class="form-control">
                         </div>
                    </td>
               </tr>
               
               <tr>
                    <td> QQ号码 </td>
                    <td>
                         <div class="col-lg-8">
                              <input type="text" name="qq" value="{if !empty($manage['qq'])}{echo $manage['qq']}{/if}" class="form-control">
                         </div>
                    </td>
               </tr>   
               
               <tr>
                    <td> 手机号码	 </td>
                    <td>
                         <div class="col-lg-8">
                              <input type="text" name="mobile" value="{if !empty($manage['mobile'])}{echo $manage['mobile']}{/if}" class="form-control">
                         </div>
                    </td>
               </tr> 
  
               
          </tbody>
     </table>
     <div class="padding_20 text-center">
          <input type="hidden" name="Submit" value="true"/>
          <button class="btn btn-primary shiny" type="submit">提 交</button>
          <input type="hidden" name="datatype" value="json"/>
          <input type="hidden" name="catid" id="Catid" value="{if !empty($manage['catid'])}{echo $manage['catid']}{/if}"/>
          <input type="hidden" name="id" value="{echo $id}"/>
     </div>
</form>			
{template Public:Admin:footer}